package com.bestcem.xm.deliver.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bestcem.xm.component.mybatis.base.BaseEntity2;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @TableName ds_deliver_deliversmstask
 */
@TableName(value = "ds_deliver_deliversmstask")
@Data
@EqualsAndHashCode(callSuper = true)
public class DeliverDeliverSmsTask extends BaseEntity2 {
    @TableId(value = "id")
    private String id;

    /**
     * 中台短信任务id
     */
    @TableField(value = "sms_task_id")
    private String smsTaskId;

    /**
     * 组织ID
     */
    @TableField(value = "org_id")
    private String orgId;

    /**
     * 中台订单id
     */
    @TableField(value = "order_id")
    private String orderId;

    /**
     * 中台短信消费id
     */
    @TableField(value = "transaction_id")
    private String transactionId;

    /**
     * 投放id 包含短信投放，催答，重新投放，二次投放催答
     */
    @TableField(value = "sms_deliver_id")
    private String smsDeliverId;

    /**
     * 类型
     */
    @TableField(value = "ttype")
    private Integer ttype;

    /**
     * 单价/分
     */
    @TableField(value = "balance")
    private Integer balance;

    /**
     * 数量
     */
    @TableField(value = "amount")
    private Integer amount;

    /**
     * 免费条数
     */
    @TableField(value = "free_num")
    private Integer freeNum;

    /**
     * 任务完成状态
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * params
     */
    @TableField(value = "params")
    private String params;
}